package top.majuan.springboot3.service;

import top.majuan.springboot3.base.PageBean;
import top.majuan.springboot3.base.R;
import top.majuan.springboot3.entity.TbGame;
import top.majuan.springboot3.vo.PageVo;

public interface TbGameService {
    R<String> insert(TbGame tbGame);

    R<TbGame> queryByKey(Integer id);

    R<String> update(TbGame tbGame);

    R<String> delete(Integer id);

    R<PageVo<TbGame>> query(TbGame tbGame, PageBean pageBean);
}
